Learn R Programming

renpow (version 0.1-1)

Hydro Power Hydrology: Hydro Power Hydrology functions

Description

Hydrological calculations in hydroelectric power generation

Usage

area.vol(xav)
model.flow(mf)
flow.plot(flow, label)
flow.exc.plot(flow, exc, label)
exceed(flow)
annual.avg(mf, nyrs)

Arguments

xav

area.vol is a list(H,B,W,L) H pool elevation (m), B bottom elevation (m), W width (km), L tail length (km)

mf

list(base.flow,peak.flow,day.peak,length.season,variab,coef)

flow

flow time series resulting from model.flow

label

label for flow

exc

exceedance levels as a result of exceed

nyrs

number of years

Value

X

list(y,proby, prob, Q, Prob.Qmean, prob.Q)

flow

flow time series from model.flow

Xtm

annual avg of flow time series from model.flow

Details

Basic hydrological calculations for hydropower

References

Acevedo, M.F. 2018. Introduction to Renewable Electric Power Systems and the Environment with R. Boca Raton, FL: CRC Press. (ISBN 9781138197343)

Examples

Run this code
# NOT RUN {
x <- list(H=130,B=100,W=10,L=100)
area.vol(x)

x <- list(base.flow=20,peak.flow=100,day.peak=200,length.season=90,
          variab=c(0.01,2),coef=c(0.4,0.3,0.2,0.1))
flow <- model.flow(x)
flow.plot(flow,label="Simulated flow (m3/s)")
exc <- exceed(flow)
exc$prob.Q
flow.exc.plot(flow,exc,label="Simulated flow (m3/s)")

# }

Run the code above in your browser using DataLab